package com.yuba.front.domain.vo;

import com.yuba.common.translation.annotation.Translation;
import com.yuba.common.translation.constant.TransConstant;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serializable;

@Data
@AutoMapper(target = PostsVo.class)
public class PostsHotVo implements Serializable {

    private Long postId;
    private String title;
    private Long userId;

    private String nickname;

    @Translation(type = TransConstant.OSS_ID_TO_URL)
    private Long avatar;

    private Long viewCount;
    private Long likeCount;
    private Long collectCount;
    private Long commentCount;

    private Boolean collectFlag;
    private String content;
}
